const state = {
    taskTodoDraftData: {},
    reFrash: false, //是否缓存数据
    frshInfoList: null,
};

const getters = {
    // getReFrash:()=>
};

const mutations = {
    setTaskTodoData(state, option) {
        state.taskTodoDraftData = option;
    },
    setReFrash(state, option) {
        state.reFrash = option;
    },
    setFrshInfoList(state, option) {
        state.frshInfoList = option;
        console.log(state.frshInfoList);
    },
};

const actions = {};

export default {
    namespaced: true,
    state,
    getters,
    mutations,
    actions,
};
